/*
 * @Author: your name
 * @Date: 2021-12-12 22:06:25
 * @LastEditTime: 2022-03-16 15:29:02
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /visualNotes/src/modules/Home/index.tsx
 */
import React, { FC} from "react";
import Header from "./components/header";
import style from "./index.module.less";
import { useSelector } from "react-redux";
import { RootState } from "@/store";
import { CommonHeader } from "@/components/Layout/Header";
interface IProps {}
const Home: FC<IProps> = (props) => {
  const user = useSelector((state: RootState) => state.user);
  return (
    <div className={style.container}>
      <CommonHeader />
      <div className={style.header}>
        <Header user={user} />
      </div>
      <div className={style.main}>
       
      </div>
    </div>
  );
};
export default Home;
